Interface: Segmenter
Hierarchy
ProcessingSize
↳
Segmenter
Properties
height
• height: number
Processing height size
Inherited from
ProcessingSize.height
model
• model: "mediapipeSelfie"
status
• status: ProcessStatus
Inherited from
width
• width: number
Processing Width size
Inherited from
ProcessingSize.width
Methods
close
▸ close(): void
Returns
void
Inherited from
destroy
▸ destroy(): Promise
<void
>
Returns
Promise
<void
>
Inherited from
open
▸ open(): Promise
<void
>
Returns
Promise
<void
>
Inherited from
process
▸ process(input
): Promise
<Segmentation
[]>
Parameters
Name | Type |
---|---|
input | ProcessInputType |
Returns
Promise
<Segmentation
[]>